package com.ruoyi.carbon.mapper;

import com.ruoyi.carbon.domain.XiaoshouDingdan;
import com.ruoyi.carbon.domain.vo.XiaoshouDingdanVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;


/**
 * 销售订单(XiaoshouDingdan)表数据库访问层
 *
 * @author lzl
 * @since 2023-10-27 12:19:49
 */
public interface XiaoshouDingdanMapper {

    /**
     * 通过ID查询单条数据
     *
     * @param id 主键
     * @return 实例对象
     */
    @Select("select * from xiaoshou_dingdan where id = #{id} ;")
    XiaoshouDingdan getById(Long id);


    List<XiaoshouDingdan> list(XiaoshouDingdan xiaoshouDingdan);

    int save(XiaoshouDingdan xiaoshouDingdan);

    int delete(Long[] ids);

    int update(XiaoshouDingdan xiaoshouDingdan);
}

